body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

body {
  margin: 0 auto;
  font-size: 18px;
  line-height: 28px;
  font-family: Montserrat;
  box-sizing: border-box;
  background-color: #f0f2f5;
}

body img {
  width: 100%;
}

content {
  display: flex;
  width: 100%;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  overflow-x: hidden;
  padding-bottom: 32px;
}

h1 {
  font-size: 36px;
  line-height: 1.2em;
}

h3 {
  font-size: 23px;
  line-height: 1.2em;
  margin: 16px 0;
}

ul {
  list-style-type: none;
}

.main {
  max-width: 710px;
  width: 100%;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  -webkit-box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.29);
  -moz-box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.29);
  box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.29);
}

.main p {
  margin: 10px auto 16px auto;
}

.main a {
  color: #1b74e4;
  text-decoration: none;
}

.main a:hover {
  text-decoration: underline;
}

.cont-img {
  max-width: 500px;
  margin-top: 16px;
}

a:-webkit-any-link {
  color: #1b74e4;
}

a:visited {
  color: #1b74e4;
}

.caption {
  max-width: 600px;
  text-align: center;
  color: #666666;
  font-style: italic;
  font-size: 14px;
  line-height: 22px;
  margin-top: 0 !important;
}
.gray-bg {
  background-color: #FFECA6;
  padding: 10px;
  margin: 10px 0;
}

.blue {
  color: #1b74e4;
  font-weight: bold;
}

.red {
  color: red;
  font-weight: bold;
}


.order_btn {
  display: block;
  width: 100%;
  color: white !important;
  font-weight: bold;
  padding: 16px 0;
  background-color: #1b74e4;
  border-radius: 8px;
  border: none;
  text-transform: uppercase;
}

.sidebar-card {
  width: 100%;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  padding: 16px 0;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  gap: 10px;
  -webkit-box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.29);
  -moz-box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.29);
  box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.29);
}
.sidebar-card-info {
  color: #656565;
  text-align: left;
}
.sidebar {
  width: 300px;
  display: flex;
  flex-direction: column;
  margin-right: 10px;
  padding-right: 40px;
  gap: 10px;
}

header {
  background-image: url("../images/header.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: white;
  height: 500px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column-reverse;
  -webkit-box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.29);
  -moz-box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.29);
  box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.29);
}

.author {
  background-color: white;
}

.author_info {
  max-width: 1100px;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
}

.author_img {
  width: 160px;
  position: relative;
}
.author_img img {
  width: 150px;
  height: auto;
  border: 10px double white;
  background-color: #1b74e4;
  border-radius: 90px;
  position: absolute;
  bottom: -40px;
}

.author_name {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author_followers {
  font-size: 14px;
  color: #666666;
}

.author_links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author_links a {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #e4e6eb;
  text-decoration: none;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  color: #374d60;
  padding: 10px 12px;
  border-radius: 8px;
}
.navbar {
  height: 60px;
  max-width: 1100px;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #65676b75;
}
.navbar ul {
  display: flex;
  align-items: center;
}
.navbar ul li {
  padding: 14px 16px;
}
.navbar ul li:first-child {
  border-bottom: 3px solid #1b74e4;
}
.navbar ul li:first-child a {
  color: #1b74e4;
  font-weight: 600;
}
.navbar ul li a {
  color: #666666;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 0;
}
.message_btn {
  background-color: #1b74e4 !important;
  color: white !important;
}
.main__author_content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  line-height: 24px;
}

.main__author_name {
  display: flex;
  align-items: center;
  gap: 16px;
}

.order_form {
    display: flex;
    flex-direction: column;
    max-width: 450px;
    gap: 16px;
    width: 90%;
}
input, select {
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #65676b75;
    border-radius: 8px;
    font-size: 18px;
    color: black;
    background-color: transparent;
}

@media screen and (max-width: 1095px) {
  content {
    flex-direction: column;
    align-items: center;
  }

  .main {
    width: 90%;
  }

  .sidebar {
    display: none;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: top;
    padding-top: 10px;
    padding-right: 0;
    gap: 10px;
  }

  .sidebar-card {
    width: 200px;
  }

  .mob-hid {
    display: none;
  }

  header {
    height: 350px;
  }

  .author_info {
    max-width: 100%;
    flex-direction: column;
    padding: 42px 0 20px 0;
    gap: 16px;
  }

  .author_img {
    width: 110px;
    position: relative;
  }

  .author_img img {
    width: 110px;
    border: 3px solid white;
    border-radius: 90px;
    position: absolute;
    bottom: -10px;
  }

  .author_name {
    flex-direction: column;
  }

  .author_name__container {
    text-align: center;
  }
}
